import mx.controls.dataGridClasses.DataGridColumn;	
	
function taskStatus(item:Object, column:DataGridColumn):String {
	// the task is defined by its title and status, which is 0 for pending task, 1 for complete task
	if (item.status == 0) {
		return "Pending";
	}				
	else {
		return "Done";
	}
}
